package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 酒店管理对象 tb_hotel
 * 
 * @author ruoyi
 * @date 2025-07-11
 */
public class TbHotel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商铺名称 */
    @Excel(name = "商铺名称")
    private String name;

    /** 商铺类型的id */
    @Excel(name = "商铺类型的id")
    private Long typeId;

    /** 商铺图片，多个图片以','隔开 */
    @Excel(name = "商铺图片，多个图片以','隔开")
    private String images;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contact;

    /** 商圈，例如陆家嘴 */
    @Excel(name = "商圈，例如陆家嘴")
    private String area;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 经度 */
    @Excel(name = "经度")
    private String x;

    /** 维度 */
    @Excel(name = "维度")
    private String y;

    /** 均价，取整数 */
    @Excel(name = "均价，取整数")
    private Long avgPrice;

    /** 总销量 */
    @Excel(name = "总销量")
    private Integer sold;

    /** 预期今日销量 */
    @Excel(name = "预期今日销量")
    private Long expectSold;

    /** 评论数量 */
    @Excel(name = "评论数量")
    private Integer comments;

    /** 评分，1~5分，乘10保存，避免小数 */
    @Excel(name = "评分，1~5分，乘10保存，避免小数")
    private Integer score;

    /** 房间管理信息 */
    private List<TbRoom> tbRoomList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }

    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setX(String x) 
    {
        this.x = x;
    }

    public String getX() 
    {
        return x;
    }

    public void setY(String y) 
    {
        this.y = y;
    }

    public String getY() 
    {
        return y;
    }

    public void setAvgPrice(Long avgPrice) 
    {
        this.avgPrice = avgPrice;
    }

    public Long getAvgPrice() 
    {
        return avgPrice;
    }

    public void setSold(Integer sold) 
    {
        this.sold = sold;
    }

    public Integer getSold() 
    {
        return sold;
    }

    public void setExpectSold(Long expectSold) 
    {
        this.expectSold = expectSold;
    }

    public Long getExpectSold() 
    {
        return expectSold;
    }

    public void setComments(Integer comments) 
    {
        this.comments = comments;
    }

    public Integer getComments() 
    {
        return comments;
    }

    public void setScore(Integer score) 
    {
        this.score = score;
    }

    public Integer getScore() 
    {
        return score;
    }

    public List<TbRoom> getTbRoomList()
    {
        return tbRoomList;
    }

    public void setTbRoomList(List<TbRoom> tbRoomList)
    {
        this.tbRoomList = tbRoomList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("typeId", getTypeId())
            .append("images", getImages())
            .append("contact", getContact())
            .append("area", getArea())
            .append("address", getAddress())
            .append("x", getX())
            .append("y", getY())
            .append("avgPrice", getAvgPrice())
            .append("sold", getSold())
            .append("expectSold", getExpectSold())
            .append("comments", getComments())
            .append("score", getScore())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("tbRoomList", getTbRoomList())
            .toString();
    }
}
